local Class = require('lua.lang.Class')

--- @class IntPointer : Class
--- @field i number
local IntPointer = Class {}

--- @constructor
--- @param value number
--- @return IntPointer
function IntPointer:new(value)
	--- @type IntPointer
	local o = {}
	o.i = value or 0
	return setmetatable(o, IntPointer)
end

return IntPointer